/*
 * Calculador.h
 *
 *  Created on: 10 Dec 2014
 *      Author: leo
 */

#ifndef CALCULADOR_H_
#define CALCULADOR_H_
#include "math.h"
class Calculador {
public:
	Calculador();
	virtual ~Calculador();

	static float logProbUnigrama(unsigned long int cantUniDistAntesUni, unsigned long int cantBigramasDistintos);

	static float logProbBigrama(unsigned long int  cantUniDistAntesSegUni, unsigned long int cantTriDistMedUni, float descBi);

	static float logProbTrigrama(unsigned long int freqTri, unsigned long int freqPriBi,  float descTri);

	static float logBoffBigrama(unsigned long int freqBi,  unsigned long int cantUniDistDespBi,  float descTri);

	static float logBoffUnigrama( unsigned long int cantTriDistMedUni,  unsigned long int cantUniDistDespUni,  float descBi);

	static float Descuento(unsigned long int cantNgrmasDistFreqUno,unsigned long int cantNgramDistFreqDos);
};

#endif /* CALCULADOR_H_ */
